<%= render :partial => "action_nav" %>
<% form_for @asset, :html => { :multipart => true } do |f| %>
  <%= error_messages_for :asset %>
  <dl class="group" id="fileform">
    <dt id="filelbls">
      <label for="asset_data"><%= _('Select files to upload') %></label>
      <label for="asset_tags" id="taglbl"><%= _('Tags (comma separated)') %></label>
      </dt>
    <dd class="asset-data">
      <ul id="filefields">
        <li>
          <%= file_field_tag 'asset_data[]', :id => 'asset_data_1' %>
          <%= f.text_field :tag, :size => '' %>
          <a href="#" class="remove-file" title="<%= _('remove this file field') %>"><%= image_tag '/images/mephisto/icons/trash.gif', :class => 'iconb red' %></a>
          <a href="#" class="tagsall" id="tagsall" style="display:none"><%= _('Apply tags to all') %></a>
        </li>
      </ul>
    </dd>
  </dl>
  <a href="#" id="asset-add-file" class="bottom-tab"><%= _('Add another file') %></a>

  <p class="btns">
    <%= submit_tag _('Upload Asset(s)') %>
    or <%= link_to _('Cancel'), assets_path %>
  </p>
<% end -%>